package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.TbGarbageMail;

/**
 * 反垃圾邮件表Service接口
 * 
 * @author ruoyi
 * @date 2025-02-18
 */
public interface ITbGarbageMailService 
{
    /**
     * 查询反垃圾邮件表
     * 
     * @param spamId 反垃圾邮件表主键
     * @return 反垃圾邮件表
     */
    public TbGarbageMail selectTbGarbageMailBySpamId(Long spamId);

    /**
     * 查询反垃圾邮件表列表
     * 
     * @param tbGarbageMail 反垃圾邮件表
     * @return 反垃圾邮件表集合
     */
    public List<TbGarbageMail> selectTbGarbageMailList(TbGarbageMail tbGarbageMail);

    /**
     * 新增反垃圾邮件表
     * 
     * @param tbGarbageMail 反垃圾邮件表
     * @return 结果
     */
    public int insertTbGarbageMail(TbGarbageMail tbGarbageMail);

    /**
     * 修改反垃圾邮件表
     * 
     * @param tbGarbageMail 反垃圾邮件表
     * @return 结果
     */
    public int updateTbGarbageMail(TbGarbageMail tbGarbageMail);

    /**
     * 批量删除反垃圾邮件表
     * 
     * @param spamIds 需要删除的反垃圾邮件表主键集合
     * @return 结果
     */
    public int deleteTbGarbageMailBySpamIds(Long[] spamIds);

    /**
     * 删除反垃圾邮件表信息
     * 
     * @param spamId 反垃圾邮件表主键
     * @return 结果
     */
    public int deleteTbGarbageMailBySpamId(Long spamId);
}
